package com.ykq.service.impl;

import com.ykq.dao.RoleDao;
import com.ykq.entity.Role;
import com.ykq.service.RoleService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @program: keyboard
 * @description:
 * @author: 闫克起2
 * @create: 2023-07-22 15:53
 **/
@Service
public class RoleServiceImpl implements RoleService {
    @Autowired
    private RoleDao roleDao;
    public List<Role> selectAll() {
        return roleDao.selectAll();
    }
}
